package com.springboot.helloworld.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @version v1.0
 * @description: 自定义异常
 * @author: xiaoliang.liu
 * @date: 2018/7/2 0:26
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class GirlException extends RuntimeException {
    private static final long serialVersionUID = -7203279082169899782L;

    private Integer code;

    public GirlException(Integer code, String message) {
        super(message);
        this.code = code;
    }
}
